package com.etoak.service;

import com.etoak.common.core.vo.PageVO;
import com.etoak.entity.Ingredients;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author etoak
 * @since 2025-08-25
 */
public interface IngredientsService extends IService<Ingredients> {
    //添加食材
    void add(Ingredients ingredients);
    //查询食材列表
    List<Ingredients> getList(Ingredients ingredients);
    //分页查询
    PageVO<Ingredients> getList(int pageNum,int pageSize,Ingredients ingredients);
    //更新食材
    void updateIngredients(int id,Ingredients ingredients);
    //删除食材
    void delete(int id);
}
